<%-- 
    Document   : formEnrichNet.jsp
    Created on : 20-feb-2014, 9:32:24
    Author     : Juan
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
    <head>
        <%@include file="../disenoWeb/title.html" %>
        <meta charset="utf-8">
        <%@include file="../disenoWeb/head.html" %>
        <script src="../disenoWeb/js/formulario.js" type="text/javascript"></script>


    </head>
    <body>
        <div id="page2" class="extra">
            <!--==============================header=================================-->
            <header>
                <%@include file="../disenoWeb/divHeader.jsp" %>
                <div class="menu-row">
                    <div class="menu-bg">
                        <div class="main">
                            <nav class="indent-left">
                                <ul class="menu wrapper">
                                    <%@include file="menuEnrichNet.html" %>
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
                <div class="row-bot">
                    <div class="center-shadow">
                    </div>
                </div>
            </header>
            <section id="content" >
                <div class="content-bg">
                    <div class="main">

                        <div id="form-enriquecimiento">
                            <form action="enrichNet.jsp" method="post" id="form_archivos" enctype="multipart/form-data">
                                <h3>Altered Genes <img width="30px" height="30px" src="../disenoWeb/images/information.png" alt="Information2" onclick="javascript:informacionKegg()" /></h3>


                                <div id="informationKegg" style="display: none;font-size: 12px">A list of altered Genes (a gene for each line).<br/>
                                    The gene's nomenclature should be "gene symbol" and the organism should be "human".</div>



                                <input type="file" name="file1" accept=".txt" required="required" />
                                </br>

                                <h3>Genes Network <img width="30px" height="30px" src="../disenoWeb/images/information.png" alt="Information3" onclick="javascript:informacionNet();" /></h3>

                                <div  id="informationNet" style="display: none;font-size: 12px">A vector of gene pairs or a list representing the network link. <br/>
                                    For the vector case, each element has a combined name of two gene symbols with separation ". <br/>
                                    For example, "7SK ALDOA". <br/>
                                    The gene's nomenclature should be "gene symbol" and the organism should be "human".</div>

                                <input type="file" name="file2" accept=".sif" required="required" />
                                </br>

                                <p><button type="submit" value="Enviar">Accept</button></p>
                            </form>
                        </div>
                    </div>
                    <div class="block"></div>
                </div>
            </section>
        </div>

        <!--==============================footer=================================-->
        <footer>
            <%@include file="../disenoWeb/footer.html" %>
        </footer>
        <%String error1 = (String) session.getAttribute("error1");
            String error2 = (String) session.getAttribute("error2");
            if (error1 != null) {
        %><script>alert("The input file of Altered Genes is not formatted correctly. It must be a txt file.");</script><%
                session.removeAttribute("error1");

            }
            if (error2 != null) {
        %><script>alert("The input file of Genes Network is not formatted correctly. It must be a sif file.");</script><%
                session.removeAttribute("error2");

            }

        %>
        <script type="text/javascript"> Cufon.now();</script>
    </body>
</html>
